<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">
/*
var a = {
	'0':'1',
	'length':1
};
var b = a;
Array.prototype.push.call(a,'b');//error
console.log(b);
*/
/*
var a = [1];
var b = a;
a.push('b');
alert(b);
*/

var a = {
	'0':'1',
	'length':1
};
var b = a;
//Array.prototype.push.call(a,'b');

//a.push('b')
//console.log(b)
/*{
	'0':'1',
	'1':'b',
	'length':2

}*/
//a = [1,'b']
</script>
</body>
</html>